<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/1/7
 * Time: 22:13
 */

namespace app\api\model;


class Express extends BaseModel
{
    protected $autoWriteTimestamp = true;
    protected $hidden= ['delete_time','create_time','update_time'];

    public static function saveExpress($data){
        $express = new Express();
        $express->order_id= $data['order_id'];
        $express->comp_name= $data['comp_name'];
        $express->express_no= $data['express_no'];
    }
}